DX11 SET OBJECT SHADER TECHNIQUE

Sets the shader technique used by all limbs belonging to the specified object.
You can also set these on a per-limb basis using DX11 SET LIMB SHADER TECHNIQUE.

  Syntax
DX11 SET OBJECT SHADER TECHNIQUE object, technique, [pass]
  Parameters
object
Dword
The object for which to set the given shader technique.
technique
Dword
The shader technique to set for the specified object.
[Optional] pass
Dword
You can achieve multi-pass shading by chaining multiple shader techniques together for a single object / limb. This signifies the pass id to set the given shader technique to.

  Returns

This function does not return a value.

  See also

OBJECT Functions Menu
DX11 Function Categories